GDK W32: Don't check dest_surface for != NULL on button events
authorРуслан Ижбулатов <lrn1986@gmail.com>
Sat, 24 Mar 2018 10:26:51 +0000 (10:26 +0000)
committerРуслан Ижбулатов <lrn1986@gmail.com>
Sat, 24 Mar 2018 10:28:11 +0000 (10:28 +0000)
commitb8e6d0637262594ae1f71f5cdadf8a3dcab33f43
tree7fffd4d28c5cdddc34557437a4781ec6e8f1b256
parent6b50788901a6053e588c7f41ef358b768eca8222
GDK W32: Don't check dest_surface for != NULL on button events

dest_surface is going to always be NULL for source contexts.
Previously we used to put the root window there to pass this check,
but root windows are gone (and root surfaces never existed to begin
with), so we have to adapt.

https://bugzilla.gnome.org/show_bug.cgi?id=773299
gdk/win32/gdkdnd-win32.c